<?php

namespace Tests;

use Faker\Generator;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;

abstract class TestCase extends BaseTestCase {
    use CreatesApplication;

    protected Generator $faker;

    public function __construct(?string $name = null, array $data = [], $dataName = '') {
//        $this->faker = Container::getInstance()->make(Generator::class);
        $this->faker = \Faker\Factory::create('zh_CN');
//        dd($this->faker->text());
        parent::__construct($name, $data, $dataName);


    }

}
